-- GENERATED SPELL FOR [Vekniss Wasp] --


function spell0_15236(pUnit, Event) --@Itch,n/a--
pUnit:FullCastSpellOnTarget(26077,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15236', 8323, 1)
end

function Sorts_15236(pUnit, Event)
local choix_sorts_15236 = math.random(0, 0)
if choix_sorts_15236 == 0 then
pUnit:RegisterEvent('spell0_15236', 1, 1)
end
end

function mob15236_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15236', math.random(1500, 3000), 1)
end

function mob15236_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15236_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15236_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15236, 1, 'mob15236_Action')
RegisterUnitEvent(15236, 2, 'mob15236_Leave')
RegisterUnitEvent(15236, 3, 'mob15236_Kill')
RegisterUnitEvent(15236, 4, 'mob15236_Die')
